package com.woniuxy.ticketuser.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.woniuxy.ticketuser.entity.TicketUser;
import com.woniuxy.ticketuser.mapper.UserMapper;
import com.woniuxy.ticketuser.service.UserService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * @ClassName UserServiceImpl
 * @Description TODO
 * @Author zx
 * @Date 2021-02-27 23:17:55
 * @Version 1.0
 */
@Service
public class UserServiceImpl extends ServiceImpl<UserMapper, TicketUser> implements UserService {

    @Resource
    private UserMapper userMapper;

    @Override
    public Boolean updateIntegration(int integration, int id) {
        return userMapper.updateIntegration(integration, id) > 0 ? true : false;
    }

}
